package com.its.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 公司表
 * </p>
 *
 * @author 朱厚强
 * @since 2023年12月27日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("hup_company")
@ApiModel(value = "HupCompany对象", description = "公司表")
public class HupCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("公司ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("公司名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("总公司ID")
    @TableField("parent_company_id")
    private Integer parentCompanyId;

    @ApiModelProperty("地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("省份")
    @TableField("province")
    private Integer province;

    @ApiModelProperty("市区")
    @TableField("city")
    private Integer city;

    @ApiModelProperty("区域")
    @TableField("district")
    private Integer district;

    @ApiModelProperty("联系电话")
    @TableField("contact_number")
    private String contactNumber;

    @ApiModelProperty("电子邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("备注信息")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("是否存续")
    @TableField("is_active")
    private Integer isActive;


}
